﻿using GalaSoft.MvvmLight;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DevKnightlie.WPF.AutoForm.Demo
{
    class ReportSettingsDataModel: ObservableObject
    {

private  string _reportTitle;
private  string _outputFilename;
private  int _rowsPerSection;
private  int _reportProgress;
private bool _indeterminate;

        
        public String ReportTitle {
            get { return _reportTitle;}
            set { Set(()=>ReportTitle, ref _reportTitle, value);}
        }

        public String OutputFilename {
            get { return _outputFilename;}
            set { Set(()=>OutputFilename, ref _outputFilename, value);}
        }

        public int RowsPerSection {
            get { return _rowsPerSection;}
            set { Set(()=>RowsPerSection, ref _rowsPerSection, value);}
        }

        public int ReportProgress {
            get { return _reportProgress;}
            set {Set(()=>ReportProgress, ref _reportProgress, value);}
        }

        public bool Indeterminate
        {
            get { return _indeterminate; }
            set { Set(() => Indeterminate, ref _indeterminate, value); }
        }
    }
}
